﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Factory.QualityControl.CommonDefects
{
    /// <summary>
    /// 常见缺陷
    /// </summary>
    public class CommonDefect : Entity<int>
    {
        /// <summary>
        /// 缺陷描述
        /// </summary>
        [StringLength(100)]
        public string? DefectDescription { get; set; }
        /// <summary>
        /// 检测项类型
        /// </summary>
        [StringLength(50)]
        public string? DetectionItemType { get; set; }
        /// <summary>
        /// 缺陷等级
        /// </summary>
        [StringLength(50)]
        public string? DefectGradeA { get; set; }
    }
}
